package com.yimu.ymblog.common.domain.web.vo.category;

import com.yimu.ymblog.common.domain.web.vo.tag.FindTagListRspVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindCategoryArticlePageListRspVO {
    private Long id;
    private String cover;
    private String title;
    private String summary;
    /**
     * 发布日期
     */
    private LocalDate createDate;

    /**
     * 文章标签
     */
    private List<FindTagListRspVO> tags;

    /**
     * 是否置顶
     */
    private Boolean isTop;

    /**
     * 浏览量
     */
    private Long readNum;

    /**
     * 评论量
     */
    private Long commentNum;
}